const vuewz = {

        parts: ['table', 'query', 'menu', 'head', 'dialog', 'foot'],
        role: {},
        hiddenSearch: false,

        searchForm: {
            sysinfoMicroId: 0,
            typeDictId: 5,
            name: '',
            code: '',
        },
        codeTypeList: ['Entity', 'Mapper','Service', 'Impl','Controller'],
        codeTypeToForm: [],
        systemTitle: '智能办公系统',
        dialogVisible: false,
        formData: {
            sysinfoMicroId: 0,
            typeDictId: 5,
            name: '',
            code: '',
            type: 'value'
        },


        dialogTitle: '新增',
        showBtnDialogFormSubmit: true,

        rules: {

            name: [
                    { required: true, message: '请输入名称', trigger: 'change' },
                    { min: 2, max: 30, message: '用户名长度在 2 到 30 个字符之间', trigger: 'change' },
                    { pattern: /^[^\s]+$/, message: '名称不能包含空格', trigger: 'change' },
                ],
            code: [
                    { required: true, message: '请输入编码', trigger: 'change' },
                    { min: 2, max: 30, message: '编码长度在 2 到 30 个字符之间', trigger: 'change' },
                    { pattern: /^[^\s]+$/, message: '编码不能包含空格', trigger: 'change' },
                ]
        },

        menuList: [],

        activeMenu: '1',  // 修改为默认选中首页
        openMenu: [],
        isCollapse: false,  // 控制菜单折叠状态
        chartTimeRange: '7',
        notices: [],
        todoFilter: 'all',
        todos: [],
        tableData: [],
        pagination: {
            currentPage: 1,
            pageSize: 10,
            total: 100
        },
        value2: [new Date(2025, 1, 1, 0, 0, 0), new Date(2025, 2, 11, 23, 59, 59)],
        value1: '',

        footerList: [
            {
                title: '关于我们',
                tel: '威海市智慧社区管理平台',
                email: '专注于提供智能化社区解决方案'
            },
            {
                title: '联系方式',
                tel: '电话：400-888-9999',
                email: '邮箱：support@weihai.gov.cn'
            },
            {
                title: '备案信息',
                tel: 'Copyright © 2024 威海市智慧社区',
                email: '鲁ICP备12345678号-1'
            }
        ],


}
